import request from '@/utils/request'
import { transFormValue } from '@/utils/tools'

//创建评估对象
export function subjectCreate(data) {
  return request({
    url: '/subject/create' + transFormValue(data),
    method: 'post'
  })
}

//删除评估对象
export function subjectDelete(data) {
  return request({
    url: '/subject/delete' + transFormValue(data),
    method: 'post'
  })
}

//评估对象详情
export function subjectInfo(data) {
  return request({
    url: '/subject/info' + transFormValue(data),
    method: 'post'
  })
}

//评估对象更新
export function subjectUpdate(data) {
  return request({
    url: '/subject/update' + transFormValue(data),
    method: 'post'
  })
}